/***
 * @Author: liujunliang
 * @Date: 2021-12-10 15:34:24
 * @LastEditTime: 2021-12-10 17:44:18
 * @LastEditors: user
 * @Description:
 * @FilePath: /threadTcpServer/include/tcpserver.h
 * @你也总是天亮了才睡!
 */
#ifndef TCPSERVER_H
#define TCPSERVER_H
class TcpServer {
  public:
    TcpServer();
    TcpServer(const int port, const char* ip, const int backlog);
    int TcpInit();
    int TcpAceept(int listenfd);

  private:
    const int   port_;
    const char* ip_;
    const int   backlog_;
};

#endif